# 项目名
TEMPLATE = app
TARGET = secure_file_transfer

# 使用 C++17
CONFIG += c++17 console
CONFIG -= app_bundle
CONFIG -= qtquick_compiler

# 包含 Qt 模块
QT += core gui sql widgets network


# 头文件路径
INCLUDEPATH += include

# 包含 GmSSL 头文件路径（请根据实际位置修改）
INCLUDEPATH += /usr/local/include
LIBS += -L/usr/local/lib -lgmssl

HEADERS += \
    include/adminwindow.h \
    include/loginwindow.h \
    include/database.h \
    include/sm3_utils.h \
    include/client_socket.h \
    include/file_transfer_client.h \
    include/mainwindow.h \
    include/adduserdialog.h \
    include/sm4_utils.h

SOURCES += \
    src/main.cpp \
    src/gui/loginwindow.cpp \
    src/db/database.cpp \
    src/utils/sm3_utils.cpp \
    src/utils/client_socket.cpp \
    src/client/file_transfer_client.cpp \
    src/gui/mainwindow.cpp \
    src/gui/adminwindow.cpp \
    src/gui/adduserdialog.cpp \
    src/utils/sm4_utils.cpp


# Qt Designer 生成的界面文件
# FORMS += ui/loginwindow.ui \
#         ui/adduserdialog.ui \
#         ui/mainwindow.ui \
#         ui/adminwindow.ui
        


# 编译输出目录（可选）
DESTDIR = bin

